import { axios } from '@/utils/request'

export function queryShipWork (parameter) {
  return axios({
    url: '/work/query',
    method: 'post',
    data: parameter
  })
}

export function queryWorkType (parameter) {
  return axios({
    url: '/work/queryWorkType',
    method: 'post',
    data: parameter
  })
}
export function addWork (parameter) {
  return axios({
    url: '/work/add',
    method: 'post',
    data: parameter
  })
}

export function editWork (parameter) {
  return axios({
    url: '/work/update',
    method: 'post',
    data: parameter
  })
}

export function removeWork (parameter) {
  return axios({
    url: '/work/remove',
    method: 'post',
    data: parameter
  })
}
